package com.acce.service.card.service;

import java.text.ParseException;

import com.acce.service.card.exception.CommonException;
import com.acce.service.card.pojo.AccessLog;
import com.acce.service.card.pojo.ArgsPojo;


public interface ILogService {

	
	boolean insertLog(ArgsPojo args) throws CommonException;
	
	AccessLog getLastLog(ArgsPojo args);
	
	AccessLog getLogById(String logId);
	
	boolean countByTime(ArgsPojo args, int time, String currTime) throws ParseException,CommonException;
	
	boolean insertOperLog(ArgsPojo args) throws CommonException;
	
	boolean insertLoginLog(ArgsPojo args);
	
}
